
using System.Runtime.CompilerServices;
using Awaiter;
using Nsb.Classes;
using jQueryApi;

namespace ThisILove
{
    public static class Application
    {
        [PreserveName, PreserveCase]
        public static void Page()
        {
            Inform.Debug("ThisILove.Application.Page()");

            new Await()
                .LoadCss(Uri.App("cs/ThisILove.css"))
                .AddDx(
                    delegate
                    {
                        jQuery.Select("#ThisILoveBtn")
                            .Closest(".Gig")
                            .Click(delegate { ListEditor.EditText(ListEntry.ListBoxWrapper.Show(), WordList.Word); })
                            ;

                        ListEntry.ShowData();

                    })
                .Commit();

        }
    }
}
